<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>表单</title>
</head>
<body>
   
    <form action="url地址" method="提交方式" name="表单名称">
        
        <label for="user">用户名</label>
        <input id="user" type="text" placeholder="请输入用户名"/> <br><br>
 
        <label for="password">密码</label>
        <input id="password" type="password" placeholder="请输入密码"/><br><br>

        <label>性别</label>
        <input type="radio" name="gender" placeholder=""/>男
        <input type="radio" name="gender" placeholder=""/>女
        <input type="radio" name="gender" placeholder=""/>未知<br><br>

        <label>爱好</label><br>
        <input type="checkbox" name="hobby" placeholder=""/>唱歌
        <input type="checkbox" name="hobby" placeholder=""/>跳舞
        <input type="checkbox" name="hobby" placeholder=""/>篮球<br><br>

        <input type="submit" value="上传"  placeholder=""/> 
   </form>
   
</body>
</html>